package com.epower.bo.epowerwordforday;


import java.util.Date;
import java.util.List;

import com.epower.bo.epowerwordforday.impl.EpowerWordForDayServiceImpl.WordForDayResult;
import com.epower.dataobject.EpowerWordForDayDO;
/***
 * BO层
 * @author QuickDev
 *
 */
public interface EpowerWordForDayService {
	
	//查询操作
	public EpowerWordForDayDO getEpowerWordForDayByOption(EpowerWordForDayDO epowerWordForDay);
	public List<EpowerWordForDayDO> getEpowerWordForDayListByOption(EpowerWordForDayDO epowerWordForDay);
	public EpowerWordForDayDO getEpowerWordForDayById(Integer epowerWordForDay);
	//删除操作
	public boolean deleteEpowerWordForDayById(Integer id);
	public Integer getEpowerWordForDayCountByOption(EpowerWordForDayDO epowerWordForDay);
	//更新操作
	public boolean  updateEpowerWordForDayByOption(EpowerWordForDayDO epowerWordForDay,List<String> sentence);
	//添加操作
	public Integer addEpowerWordForDay(EpowerWordForDayDO epowerWordForDay,List<String> sentences);
	public List<EpowerWordForDayDO> getEpowerWordForDayListPageByOption(EpowerWordForDayDO epowerWordForDay);
	
	public List<EpowerWordForDayDO> getMainEpowerWordForDayBySpelling(String spelling);
	
	public WordForDayResult getEpowerWordForDayByDate(Date date);
	
}

